<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8"/>
    <title> 2-13 编程练习</title>
    <link rel="stylesheet" type="text/css" href="../../../css/style.css"/>
    <style type="text/css">
    </style>

    <script type="text/javascript">
        var a,b,sum;
        var a=5;
        var b=100%7;
        sum=a>b && a*b>0;
        document.write("我以为a的值是:"+a+"&nbsp;b的值是:"+b+"&nbsp;sum的值是:"+sum+"<br>");
        document.write("答案是,第一轮计算后,a为:"+a+";&nbsp;b为:"+b+";&nbsp;第一次计算sum为:"+sum+"<br>");

        sum=((++a)+3)/(2-(--b))*3;
        document.write("再一次计算后,我认为a的值是:"+a+"&nbsp;b的值是:"+b+"&nbsp;sum的值是:"+sum+"<br>");
        document.write("答案是,第一轮计算后,a为:"+a+";&nbsp;b为:"+b+";&nbsp;第二次计算sum为:"+sum+"<br>");

    </script>
</head>

<body>
<div align="center">
    <p><a href="../../index.php#jsjjp" class="fontSize" title="点击进入该目录">目录</a></p>
</div>

<!--<input type="button" onclick="zhencha()" value="点击查询"/>-->

<script type="text/javascript">

</script>

</body>
</html>
